<HTML>
<HEAD>
<TITLE>DefaultProjectName - GetSize</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">GetSize</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CUInt2dLine4032',this)" class="pathLink">CUInt2dLine</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">GetSize</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','GetSize4131790861','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','GetSize4131790861','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','GetSize4131790861','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 165</div>
<pre class="codeExamples">
<a href="#" onMouseOver="link('_member','CUInt2dSize53624',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dPoint&nbsp;&nbsp;CUInt2dSize ',CAPTION,'<strong>Brief description</strong><BR>Another name for CUInt2dPoint class.');" onMouseOut="return nd();">CUInt2dSize</a> <a href="#" onMouseOver="link('_member','GetSize4131790861',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dSize&nbsp;&nbsp;GetSize&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Computes X and Y sizes of the line.');" onMouseOut="return nd();">OOXlib::CUInt2dLine::GetSize</a>() const
                                       {
    <a href="#" onMouseOver="link('_member','CUInt2dSize53624',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dPoint&nbsp;&nbsp;CUInt2dSize ',CAPTION,'<strong>Brief description</strong><BR>Another name for CUInt2dPoint class.');" onMouseOut="return nd();">CUInt2dSize</a> size;
    if(<a href="#" onMouseOver="link('_member','m_iStartX1124081066',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;m_iStartX ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_iStartX</a> &gt;= <a href="#" onMouseOver="link('_member','m_iEndX1124081066',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;m_iEndX ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_iEndX</a>) {
        size.SetX(m_iStartX - m_iEndX);
    } else {
        size.SetX(m_iEndX - m_iStartX);
    }
    if(<a href="#" onMouseOver="link('_member','m_iStartY1124081066',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;m_iStartY ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_iStartY</a> &gt;= <a href="#" onMouseOver="link('_member','m_iEndY1124081066',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;m_iEndY ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_iEndY</a>) {
        size.SetY(m_iStartY - m_iEndY);
    } else {
        size.SetY(m_iEndY - m_iStartY);
    }
    return size;
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
